set as-path prepend
This command sets the as-path prepend string for the BGP as-path attribute.
Syntax
set as-path prepend as-path
Command |
Description |
---|---|
as-path |
Defines the as-number in the range of 1 – 65535. |
Default
NA
Command Mode
Privileged User
Example
This example sets the as-path prepend string for the BGP as-path attribute.
(config-data)# route-map qqq permit 1 (conf-route-map)# set as-path prepend 1